package triangle;

public class Triangle {
	private int l1, l2, l3;

	public Triangle(int l1, int l2, int l3) {
		this.l1 = l1;
		this.l2 = l2;
		this.l3 = l3;
	}
	public String getType(){
		if(this.l1+this.l2<=this.l3 || this.l1+this.l3<=this.l2 || this.l3+this.l2<=this.l1 )
			return "invalide";
		else
			if(this.l1==this.l2 && (this.l3!=this.l2 || this.l3!=this.l1))
				return "isocele";
			else
				if(this.l1==this.l2 && this.l3==this.l2 )
					return "equilateral";
		
				else 
					return "scalene";
			}
	

}
